package top.huiwow.items;

public class ItemStats {
    public int strength;
    public int defense;
    public int speed;
    public int intelligence;
    public int critChance;
    public int critDamage;
    public int damage;

    public int getHealth() {
        return health;
    }

    public ItemStats setHealth(int health) {
        this.health = health;
        return this;
    }

    public int health;

    public ItemStats() {
        this.strength = 0;
        this.defense = 0;
        this.speed = 0;
        this.intelligence = 0;
        this.critChance = 0;
        this.critDamage = 0;
        this.damage = 0;
        this.health=0;
    }

    public int getStrength() {
        return strength;
    }

    public ItemStats setStrength(int strength) {
        this.strength = strength;
        return this;
    }

    public int getDefense() {
        return defense;
    }

    public ItemStats setDefense(int defense) {
        this.defense = defense;
        return this;
    }

    public int getSpeed() {
        return speed;
    }

    public ItemStats setSpeed(int speed) {
        this.speed = speed;
        return this;
    }

    public int getIntelligence() {
        return intelligence;
    }

    public ItemStats setIntelligence(int intelligence) {
        this.intelligence = intelligence;
        return this;
    }

    public int getCritChance() {
        return critChance;
    }

    public ItemStats setCritChance(int critChance) {
        this.critChance = critChance;
        return this;
    }

    public int getCritDamage() {
        return critDamage;
    }

    public ItemStats setCritDamage(int critDamage) {
        this.critDamage = critDamage;
        return this;
    }

    public int getDamage() {
        return damage;
    }

    public ItemStats setDamage(int damage) {
        this.damage = damage;
        return this;
    }
}
